package org.corey.share.db.manager;

import org.corey.share.db.dao.ArticleDao;
import org.corey.share.db.dao.ArticleDaoImpl;
import org.corey.share.db.dao.BaseDao;
import org.corey.share.db.dao.CommentDao;
import org.corey.share.db.dao.CommentDaoImpl;
import org.corey.share.db.dao.CoreyFileDao;
import org.corey.share.db.dao.CoreyFileDaoImpl;
import org.corey.share.db.dao.DefaultBaseDao;
import org.corey.share.db.dao.UserDao;
import org.corey.share.db.dao.UserDaoImpl;

public class DefaultDaoFactory implements DaoFactory {
	public BaseDao creatBaseDao() {

		return new DefaultBaseDao();
	}

	public ArticleDao createArticleDao() {
		return new ArticleDaoImpl();
	}

	public CoreyFileDao createCoreyFileDao() {
		return new CoreyFileDaoImpl();
	}

	public CommentDao createCommentDao() {
		return new CommentDaoImpl();
	}

	public UserDao createUserDao() {
		return new UserDaoImpl();
	}
}
